<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        p {
            font-size: 50px;
            background-color: yellow;
        }

        p span {
            margin-right: 5px;
            background-color: red;
        }

        span:nth-child(1) {
            font-family: Arial, Helvetica, sans-serif;
        }

        span:nth-child(2) {
            font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
        }

        span:nth-child(3) {
            font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
        }
    </style>
</head>

<body>
    <p><span>Xx</span><span>Xx</span><span>Xx</span>Xx</p>
</body>

</html>